package com.niiwoo.civet.user.service;

import com.niiwoo.civet.user.dto.request.QueryUserBasicInfoRequestDTO;
import com.niiwoo.civet.user.dto.request.UpdateUserBasicInfIMRequestDTO;
import com.niiwoo.civet.user.dto.response.ImGetUserBasicInfoResponseDTO;

/**
 * Created by huangmin on 2017/12/19.
 */
public interface ImDubboService {

    /**
     * IM获取用户信息
     * @param requestDTO 请求dto
     * @return ImGetUserBasicInfoResponseDTO (手机号已解密)
     */
    ImGetUserBasicInfoResponseDTO imGetUserBasicInfo(QueryUserBasicInfoRequestDTO requestDTO);

    /**
     * 更新用户信息到IM
     */
    void updateUserBasicInfIM (UpdateUserBasicInfIMRequestDTO requestDTO);

}
